{include file='pub/base' /}
<div class="page-container">
    <form class="form form-horizontal" id="form" method="post" action="">
        <input type="hidden" name="id" value="{$vo.id ?? ''}">
		<table class="table table-border table-bordered table-bg">
            <tr>
            <td width="10%">新闻 type获取</td>
            <td width="23%" colspan=3>
			<span class="select-box">
				<select name="type"  class="select"  datatype="*" >
					{present name="type"}
					{volist name="type" id="k"}
					<option value="{$k.id}">{$k.name}</option>
					{/volist}
					{/present}
				</select>
			</span></td>
            <td width="10%">inde</td>
            <td width="23%" colspan=3>
			<span class="select-box">
				<select name="type2"  class="select"  datatype="*" >
					{present name="type2"}
					{volist name="type2" id="k"}
					<option value="{$k.id}">{$k.name}</option>
					{/volist}
					{/present}
				</select>
			</span></td>
            <td>Test</td>
            <td colspan=3><input type="dropdown" class="input-text" placeholder="Test" name="type3" value="{$vo.type3 ?? ''}">
 </td></table>
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <button type="submit" class="btn btn-primary radius">&nbsp;&nbsp;提交&nbsp;&nbsp;</button>
                <button type="button" class="btn btn-default radius ml-20" onClick="layer_close();">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="__LIB__/Validform/5.3.2/Validform.min.js"></script>
<script>
    $(function () {


        $('.skin-minimal input').iCheck({
            checkboxClass: 'icheckbox-blue',
            radioClass: 'iradio-blue',
            increaseArea: '20%'
        });

        $("#form").Validform({
            tiptype: 2,
            ajaxPost: true,
            showAllError: true,
            callback: function (ret){
                ajax_progress(ret);
            }
        });

    })
$("[name="type"]").find("[value="{$info.type ?? "0"}"]").attr("selected",true);$("[name="type2"]").find("[value="{$info.type2 ?? "0"}"]").attr("selected",true);
</script>